<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="auto">
        <LM></LM>
      </el-aside>
      <el-container>
        <el-header>
          <RT></RT>
        </el-header>
        <el-main>
          <!-- 路由出口 -->
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script lang="ts" setup>
import LM from "@/components/LeftMenu.vue";
import RT from "@/components/RightTop.vue";
</script>

<style lang="scss">
.el-aside {
  background-color: #545c64;
}
.el-header {
  background-color: lightgrey;
}
.el-main {
  background-color: rgb(172, 169, 169);
}
.el-container,
.common-layout,
#app,
body,
html {
  height: 100%;
}
</style>
